Platform Explorer / Nuxeo Platform 5.8

Extension point standalone-filters

Documentation

Extension Point for registering Standalone Filters.

The XML syntax is:

    <standalone-filter name="filter name">
        <engine>engine name</engine>
        <class>org.nuxeo.theme.filters.FilterClass</class>
    </standalone-filter>

where: - 'engine' is the name of the Engine for which the Filter will be applied. (Optional) - 'class' is the Java class extending org.nuxeo.theme.rendering.StandaloneFilter

Contribution Descriptors

  • Class: org.nuxeo.theme.rendering.StandaloneFilterType

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-theme-html-5.8.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="collect xmlns">
          <class>
            org.nuxeo.theme.html.filters.standalone.XmlNamespaces
          </class>
        </standalone-filter>
    
        <standalone-filter name="control fragment visibility">
          <class>
            org.nuxeo.theme.html.filters.standalone.FragmentVisibility
          </class>
        </standalone-filter>
      </extension>
  • nuxeo-theme-jsf-5.8.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="write fragment tag" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.jsf.filters.standalone.FragmentTag
          </class>
        </standalone-filter>
    
        <standalone-filter name="collect xmlns" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.html.filters.standalone.XmlNamespaces
          </class>
        </standalone-filter>
    
        <standalone-filter name="control fragment visibility" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.html.filters.standalone.FragmentVisibility
          </class>
        </standalone-filter>
    
        <standalone-filter name="set element name" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.html.filters.standalone.ElementName
          </class>
        </standalone-filter>
    
      </extension>
  • nuxeo-theme-webengine-5.8.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="write fragment tag" template-engine="freemarker">
          <class>
            org.nuxeo.theme.webengine.fm.filters.standalone.FragmentTag
          </class>
        </standalone-filter>
    
        <standalone-filter name="control fragment visibility" template-engine="freemarker">
          <class>
            org.nuxeo.theme.html.filters.standalone.FragmentVisibility
          </class>
        </standalone-filter>
    
        <standalone-filter name="set element name" template-engine="freemarker">
          <class>
            org.nuxeo.theme.html.filters.standalone.ElementName
          </class>
        </standalone-filter>
    
      </extension>
  • nuxeo-theme-editor-5.8.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="control fragment visibility">
          <engine>page-editor</engine>
          <class>
            org.nuxeo.theme.editor.filters.FragmentVisibility
          </class>
        </standalone-filter>
    
        <standalone-filter name="set element id">
          <engine>page-editor</engine>
          <class>org.nuxeo.theme.editor.filters.ElementUid</class>
        </standalone-filter>
    
        <standalone-filter name="make draggable">
          <engine>page-editor</engine>
          <class>org.nuxeo.theme.editor.filters.Draggable</class>
        </standalone-filter>
    
        <standalone-filter name="remove scripts">
          <engine>page-editor</engine>
          <class>
            org.nuxeo.theme.editor.filters.ScriptRemover
          </class>
        </standalone-filter>
    
        <standalone-filter name="insert json model">
          <engine>page-editor</engine>
          <class>org.nuxeo.theme.editor.filters.JSONModel</class>
        </standalone-filter>
    
        <standalone-filter name="create initial section">
          <engine>page-editor</engine>
          <class>
            org.nuxeo.theme.editor.filters.CreateInitialSection
          </class>
        </standalone-filter>
    
        <standalone-filter name="add identifiable container">
          <engine>fragments-only</engine>
          <class>
            org.nuxeo.theme.editor.filters.IdentifiableContainer
          </class>
        </standalone-filter>
    
      </extension>